java print variable type

65

java print variable type -

System.out.println(((Object)x).getClass().getName());

Comments

Submit
0 Comments